package com.quectel.core.module.device.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * 设备厂商
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2019-06-03 09:55:24
 */
@Data
public class DeviceVendorDto implements Serializable {

    /**
     * ID
     */
    private Long id;
    /**
     * 厂商名称
     */
    @NotEmpty
    @Length(min = 1, max = 80)
    private String name;
    /**
     * 厂商编码
     */
    @NotEmpty
    @Length(min = 1, max = 50)
    private String code;
    /**
     * 备注
     */
    @Length(max = 80)
    private String remark;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人
     */
    private String editor;
    /**
     * 修改时间
     */
    private Date editTime;

}
